package com.product.android.commonInterface.chat;

import android.os.Parcel;
import android.os.Parcelable;

public class ForwardingParam implements Parcelable {

	public long mId;
	public String mGenerateId;
	public int mMsgType;
	
	public ForwardingParam() {
		
	}

	public static final Parcelable.Creator<ForwardingParam> CREATOR = new Parcelable.Creator<ForwardingParam>() {

		@Override
		public ForwardingParam createFromParcel(Parcel in) {
			return new ForwardingParam(in);
		}

		@Override
		public ForwardingParam[] newArray(int size) {
			return new ForwardingParam[size];
		}

	};

	private ForwardingParam(Parcel in) {
		mId = in.readLong();
		mGenerateId = in.readString();
		mMsgType = in.readInt();
	}

	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeLong(mId);
		dest.writeString(mGenerateId);
		dest.writeInt(mMsgType);
	}

}
